#if !defined(AFX_KSYSLOG_H__886EB5EE_0FEA_463D_B2EA_AC2576864373__INCLUDED_)
#define AFX_KSYSLOG_H__886EB5EE_0FEA_463D_B2EA_AC2576864373__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// KSysLog.h : header file
//
#include "KDcom.h"
#include "KSFileDialog.h"
#include "KReportCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// KSysLog dialog
extern KDcom theDcom;
class KSysLog : public CDialog
{
// Construction
public:
	int GetSysLogByDate(CString u,CString s, CString e);
	KSysLog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(KSysLog)
	enum { IDD = IDD_LOG };
	CStatic	m_cstcDataPrompt;
	CDateTimeCtrl	m_cdtimeStart;
	KReportCtrl	m_clstLog;
	CTime	m_bTime;
	CTime	m_eTime;
	CString m_curUser;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(KSysLog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(KSysLog)
	virtual BOOL OnInitDialog();
	afx_msg void OnSearch();
	afx_msg void OnButtonExport();
	afx_msg void OnCloseupDatetimepickerStart(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCloseupDatetimepickerEnd(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnKillfocusLoglist(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KSYSLOG_H__886EB5EE_0FEA_463D_B2EA_AC2576864373__INCLUDED_)
